/**
 * @author ZhiWen Ren
 * @version 1.0
 * @description: TODO
 * @date 2025/4/21 15:15
 */

 // Definition for singly-linked list.
 public class ListNode {
     int val;
     ListNode next;
     ListNode() {}
     ListNode(int val) { this.val = val; }
     ListNode(int val, ListNode next) { this.val = val; this.next = next; }
 }
